package com.wetao.lib_common;

/**
 * author: zhouyh
 * created on: 2019-10-28 14:33
 * description:常量信息
 */
public class Constants {

    public static final String USER_ID_KEY = "user_id";
    public static final String HEAD_XTOKEN = "X-Token";
    public static final String USER_ID_LIST = "user_id_list";
    public static final String IS_REMMBER_PASSWORD = "is_remmber_password";
    public static final String USER_LOGIN_INFO = "user_info";
    public static final String USER_PEN_MAC = "user_pen_mac";
    public static final String GET_SUBJECT_LIST= "get_subject_list";
    public static final String USER_PEN_OFFLINE_NOSUBMITNUM= "user_pen_offline_nosubmitnum";
    public static final String VERSION_1_3_5_TO_7= "VERSION_1_3_5_TO_7";
    public static final String VERSION_1_3_7_TO_8= "VERSION_1_3_7_TO_8";

    public static final String VIDEO_FORMAT = ".mp3";

    public static final String UPGRADE_DIALOG_TIME = "upgrade_dialog_time";

    public static String FILE_PATH = "/data/user/0/com.sunducation.wts.penbox/files";


    public static final int TYPE_WRONG_QUESTION_REVISION = 0;
    public static final int TYPE_REVISION_REVISION = 1;

    public static final int TYPE_0 = 0; //错题详情订正
    public static final int TYPE_1 = 1; //订正详情订正

    public static final int TYPE_AUDIO = 0; //音频
    public static final int TYPE_VIDEO = 1; //视频
    public static final int TYPE_TRACK = 2; //音轨

    public static final int TYPE_TASK= 1;
    public static final int TYPE_CLASS_INTERACTION= 2;
    public static final int TYPE_READ_PUSH= 3;

    //随堂小测
    public static final int TYPE_CLASSIN_SMALL_TEST= 1000;
    //随堂互动
    public static final int TYPE_CLASSIN_ANSWER= 1001;
    //抢答
    public static final int TYPE_CLASSIN_PICK_ANSWER= 1002;




    public static final String OPEN_DEV_PATH = "sys/class/power_supply/chg_inner/device/start_detect";//是否打开开发者模式
    //public static final String OPEN_DEV_PATH = "sdcard/Android/data/start_detect";//是否打开开发者模式

    public static class HTTP_ERROR {
        public static int HTTP_LOGIN_INVIADE = 10004; //未登录或登陆已过期
        public static int HTTP_TOKEN_OUT= 2; //token失效或已在其他账号登录
    }

    public static class ConstData {
        public static int baseData = 101;
        public static final int REQUSTCODE_WIFI_SET = baseData++;
        public static final int RESPONSE_WIFI_SET = baseData++;
        public static final int QUERY_WRONG_QUESTION_BY_SUBJECT = baseData++;
        public static final int QUERY_EXAM_BY_SUBJECT = baseData++;



        //说写订正完成
        public static final int REVISION_RECORD_FINISH = baseData++;
        public static final int QUESTION_MANAGER_REFRESH = baseData++;
    }


    public static class Action{
        public static final String NETWORK_CONNECT = "receiver_network_connect";
        public static final String NETWORK_DISCONNECT = "receiver_network_disconnect";
    }
}
